import { TJshortcuts } from '@/utils/config'
export const formItems = [
  {
    filed: 'member',
    type: 'input',
    label: '会员信息',
    placeholder: '请输入会员昵称/手机号'
  },
  {
    filed: 'orderId',
    type: 'input',
    label: '订单编号',
    placeholder: '请输入订单编号'
  },
  {
    filed: 'inFlag',
    type: 'select',
    label: '入场凭证',
    placeholder: '全部',
    options: [
      { value: '42', label: '门票' },
      { value: '32', label: '场地预定' },
      { value: '41', label: '套餐' }
    ]
  },
  {
    filed: 'inType',
    type: 'select',
    label: '入场方式',
    placeholder: '全部',
    options: [
      { value: '3', label: '会员卡' },
      { value: '1', label: '二维码' },
      { value: '2', label: '人脸' }
    ]
  },
  {
    filed: 'out',
    type: 'select',
    label: '是否离场',
    placeholder: '全部',
    options: [
      { value: '0', label: '未离场' },
      { value: '1', label: '已离场' }
    ]
  },
  {
    filed: 'daterange',
    type: 'daterange',
    pickerOptions: {
      shortcuts: TJshortcuts
    }
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
